[INFO] fetching crate win_mem 0.2.2...
[INFO] building win_mem-0.2.2 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate win_mem 0.2.2 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate win_mem 0.2.2 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate win_mem 0.2.2
[INFO] finished tweaking crates.io crate win_mem 0.2.2
[INFO] tweaked toml for crates.io crate win_mem 0.2.2 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d2966f3c69640c334ddb66f79f5b839c3a50c7be9b004a8a7ab5ccfe73148dc4
[INFO] running `Command { std: "docker" "start" "-a" "d2966f3c69640c334ddb66f79f5b839c3a50c7be9b004a8a7ab5ccfe73148dc4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d2966f3c69640c334ddb66f79f5b839c3a50c7be9b004a8a7ab5ccfe73148dc4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2966f3c69640c334ddb66f79f5b839c3a50c7be9b004a8a7ab5ccfe73148dc4", kill_on_drop: false }`
[INFO] [stdout] d2966f3c69640c334ddb66f79f5b839c3a50c7be9b004a8a7ab5ccfe73148dc4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 64221e657e3168d2fc15a0d8b9d188581acd5c15fff52438f227fcc1540ebb1e
[INFO] running `Command { std: "docker" "start" "-a" "64221e657e3168d2fc15a0d8b9d188581acd5c15fff52438f227fcc1540ebb1e", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling win_mem v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/snapshot.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::um::tlhelp32::{CreateToolhelp32Snapshot, TH32CS_SNAPMODULE, TH32CS_SNAPMODULE32, TH32CS_SNAPPROCESS};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/snapshot.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::winnt::HANDLE;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/module.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::shared::minwindef::DWORD;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/process.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::minwindef::{DWORD, FALSE, LPCVOID, LPVOID, TRUE};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/process.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::handleapi::INVALID_HANDLE_VALUE;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/process.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::memoryapi::{ReadProcessMemory, WriteProcessMemory};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/process.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::processthreadsapi::OpenProcess;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/process.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::tlhelp32::{Module32FirstW, Module32NextW, MODULEENTRY32W, Process32FirstW, Process32NextW, PROCESSENTRY32W};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/process.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::winnt::{HANDLE, PROCESS_ALL_ACCESS};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::winnt::{HANDLE, WCHAR};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/snapshot.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Snapshot(HANDLE);
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]   --> src/snapshot.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |         unsafe { Snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0)) }
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope
[INFO] [stdout]   --> src/snapshot.rs:16:52
[INFO] [stdout]    |
[INFO] [stdout] 16 |         unsafe { Snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0)) }
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]   --> src/snapshot.rs:21:27
[INFO] [stdout]    |
[INFO] [stdout] 21 |         unsafe { Snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, process.pid())) }
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope
[INFO] [stdout]   --> src/snapshot.rs:21:52
[INFO] [stdout]    |
[INFO] [stdout] 21 |         unsafe { Snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, process.pid())) }
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope
[INFO] [stdout]   --> src/snapshot.rs:21:72
[INFO] [stdout]    |
[INFO] [stdout] 21 |         unsafe { Snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, process.pid())) }
[INFO] [stdout]    |                                                                        ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/snapshot.rs:25:29
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn handle(&self) -> HANDLE {
[INFO] [stdout]    |                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]  --> src/module.rs:6:25
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub(crate) address: DWORD,
[INFO] [stdout]   |                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]  --> src/module.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub(crate) len: DWORD,
[INFO] [stdout]   |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/module.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn address(&self) -> DWORD {
[INFO] [stdout]    |                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/module.rs:21:26
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn len(&self) -> DWORD {
[INFO] [stdout]    |                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/process.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pid: DWORD,
[INFO] [stdout]    |          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/process.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |     handle: HANDLE,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]   --> src/process.rs:32:40
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Process {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<PROCESSENTRY32W>`
[INFO] [stdout] ...
[INFO] [stdout] 32 |             let mut p_entry = zeroed::<PROCESSENTRY32W>();
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]   --> src/process.rs:34:40
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Process {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<PROCESSENTRY32W>`
[INFO] [stdout] ...
[INFO] [stdout] 34 |             p_entry.dwSize = size_of::<PROCESSENTRY32W>() as DWORD;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/process.rs:34:62
[INFO] [stdout]    |
[INFO] [stdout] 34 |             p_entry.dwSize = size_of::<PROCESSENTRY32W>() as DWORD;
[INFO] [stdout]    |                                                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stdout]   --> src/process.rs:37:38
[INFO] [stdout]    |
[INFO] [stdout] 37 |                 snapshot.handle() != INVALID_HANDLE_VALUE &&
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in this scope
[INFO] [stdout]   --> src/process.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 Process32FirstW(snapshot.handle(), &mut p_entry) != FALSE {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/process.rs:38:69
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 Process32FirstW(snapshot.handle(), &mut p_entry) != FALSE {
[INFO] [stdout]    |                                                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]   --> src/process.rs:44:42
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...                   let h_proc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid);
[INFO] [stdout]    |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope
[INFO] [stdout]   --> src/process.rs:44:54
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...                   let h_proc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid);
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/process.rs:44:74
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...                   let h_proc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid);
[INFO] [stdout]    |                                                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in this scope
[INFO] [stdout]   --> src/process.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 |                     Process32NextW(snapshot.handle(), &mut p_entry) != FALSE
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/process.rs:53:72
[INFO] [stdout]    |
[INFO] [stdout] 53 |                     Process32NextW(snapshot.handle(), &mut p_entry) != FALSE
[INFO] [stdout]    |                                                                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope
[INFO] [stdout]   --> src/process.rs:70:40
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Process {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<MODULEENTRY32W>`
[INFO] [stdout] ...
[INFO] [stdout] 70 |             let mut m_entry = zeroed::<MODULEENTRY32W>();
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope
[INFO] [stdout]   --> src/process.rs:72:40
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Process {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<MODULEENTRY32W>`
[INFO] [stdout] ...
[INFO] [stdout] 72 |             m_entry.dwSize = size_of::<MODULEENTRY32W>() as DWORD;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/process.rs:72:61
[INFO] [stdout]    |
[INFO] [stdout] 72 |             m_entry.dwSize = size_of::<MODULEENTRY32W>() as DWORD;
[INFO] [stdout]    |                                                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stdout]   --> src/process.rs:75:38
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 snapshot.handle() != INVALID_HANDLE_VALUE &&
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in this scope
[INFO] [stdout]   --> src/process.rs:76:17
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 Module32FirstW(snapshot.handle(), &mut m_entry) != FALSE {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/process.rs:76:68
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 Module32FirstW(snapshot.handle(), &mut m_entry) != FALSE {
[INFO] [stdout]    |                                                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/process.rs:82:65
[INFO] [stdout]    |
[INFO] [stdout] 82 | ...                   address: m_entry.modBaseAddr as DWORD,
[INFO] [stdout]    |                                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in this scope
[INFO] [stdout]   --> src/process.rs:88:21
[INFO] [stdout]    |
[INFO] [stdout] 88 |                     Module32NextW(snapshot.handle(), &mut m_entry) != FALSE
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/process.rs:88:71
[INFO] [stdout]    |
[INFO] [stdout] 88 |                     Module32NextW(snapshot.handle(), &mut m_entry) != FALSE
[INFO] [stdout]    |                                                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/process.rs:98:53
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub fn write_mem<T>(&self, buffer: &T, address: DWORD) -> WinResult<()> {
[INFO] [stdout]    |                                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope
[INFO] [stdout]    --> src/process.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |             if WriteProcessMemory(self.handle,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/process.rs:101:46
[INFO] [stdout]     |
[INFO] [stdout] 101 | ...                   address as LPVOID,
[INFO] [stdout]     |                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope
[INFO] [stdout]    --> src/process.rs:102:57
[INFO] [stdout]     |
[INFO] [stdout] 102 | ...                   buffer as *const T as LPCVOID,
[INFO] [stdout]     |                                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/process.rs:104:50
[INFO] [stdout]     |
[INFO] [stdout] 104 | ...                   null_mut()) == TRUE {
[INFO] [stdout]     |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/process.rs:114:81
[INFO] [stdout]     |
[INFO] [stdout] 114 |     pub fn write_mem_relative<T>(&self, buffer: &T, module_name: &str, address: DWORD) -> WinResult<()> {
[INFO] [stdout]     |                                                                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/process.rs:124:40
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub fn read_mem<T>(&self, address: DWORD) -> WinResult<T> {
[INFO] [stdout]     |                                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope
[INFO] [stdout]    --> src/process.rs:128:16
[INFO] [stdout]     |
[INFO] [stdout] 128 |             if ReadProcessMemory(self.handle,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/process.rs:129:45
[INFO] [stdout]     |
[INFO] [stdout] 129 | ...                   address as LPVOID,
[INFO] [stdout]     |                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/process.rs:130:56
[INFO] [stdout]     |
[INFO] [stdout] 130 | ...                   &mut buf as *mut T as LPVOID,
[INFO] [stdout]     |                                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/process.rs:132:49
[INFO] [stdout]     |
[INFO] [stdout] 132 | ...                   null_mut()) == TRUE {
[INFO] [stdout]     |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/process.rs:142:68
[INFO] [stdout]     |
[INFO] [stdout] 142 |     pub fn read_mem_relative<T>(&self, module_name: &str, address: DWORD) -> WinResult<T> {
[INFO] [stdout]     |                                                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/process.rs:156:26
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub fn pid(&self) -> DWORD {
[INFO] [stdout]     |                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/process.rs:161:29
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pub fn handle(&self) -> HANDLE {
[INFO] [stdout]     |                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/utils.rs:18:24
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn close_h(handle: HANDLE) {
[INFO] [stdout]    |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stdout]   --> src/utils.rs:19:39
[INFO] [stdout]    |
[INFO] [stdout] 19 |     if !handle.is_null() && handle != INVALID_HANDLE_VALUE {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]   --> src/utils.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 |         unsafe { CloseHandle(handle); }
[INFO] [stdout]    |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stdout]   --> src/utils.rs:24:65
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn remove_nil_bytes<const C_STR_SIZE: usize>(c_style_str: &[WCHAR; C_STR_SIZE]) -> Result<String, FromUtf16Error> {
[INFO] [stdout]    |                                                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 62 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `win_mem`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "64221e657e3168d2fc15a0d8b9d188581acd5c15fff52438f227fcc1540ebb1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64221e657e3168d2fc15a0d8b9d188581acd5c15fff52438f227fcc1540ebb1e", kill_on_drop: false }`
[INFO] [stdout] 64221e657e3168d2fc15a0d8b9d188581acd5c15fff52438f227fcc1540ebb1e
